package com.dtx.dtxtest;

import org.junit.Test;

import java.util.ArrayList;
import java.util.List;

public class Teee {
    public static void main(String[] args) {
        String str = "Profit Center";
        System.out.println(str.toUpperCase().replace(" ","_"));

        List<String> list = new ArrayList<>();
        list.add("qwe");
    }

    @Test
    public void test(){
        int array[][] = new int[2][4];
        array[0][0]=1;
        array[0][1]=2;
        array[0][2]=3;
        array[0][3]=4;
        array[1][0]=5;
        array[1][1]=6;
        array[1][2]=7;
        array[1][3]=8;
        for (int i = 0; i < array.length; i++) {
            for (int j = 0; j < array[i].length; j++) {
                System.out.print(array[i][j]+"\t");
            }
            System.out.println();
        }


    }
}
